// let path = require('path')
import path from 'path'
let os = process.platform
let obj = {}
let iconPath = '../resource/unrelease/icon.ico'

if (os !== 'darwin') {
    obj = {
        perMachine: true,
        allowElevation: true,
        // 用户是否可以自由的选择安装目录
        allowToChangeInstallationDirectory: true,
        include: path.join(process.cwd(), 'scripts/common/installer.nsh'),
        createDesktopShortcut: true,
        createStartMenuShortcut: true,
        shortcutName: 'youAppName',
        oneClick: false,
        installerIcon: iconPath,
        uninstallerIcon: iconPath,
        // installerHeader: 'test',
        installerHeaderIcon: iconPath
    }
}
export default obj

// module.exports = obj
